//
//  UIView+Ext.h
//  分享demo
//
//  Created by pc-chtypd056 on 2018/8/22.
//  Copyright © 2018年 CTL. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (Ext)

@property CGPoint point;
@property CGSize  size;

@property CGFloat height;
@property CGFloat width;

@property CGFloat left;
@property CGFloat right;

@property CGFloat top;
@property CGFloat bottom;

@property CGFloat centerX;
@property CGFloat centerY;

@property CGFloat x;
@property CGFloat y;

- (void)addLineWithFrame:(CGRect)rect color:(UIColor *)color;

@end
